package ls.jpa.chapterD.repository;

import ls.jpa.chapterD.model.Author;
import ls.jpa.chapterD.value.BookValue;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author barudisshu
 */
public interface AuthorDao extends JpaRepository<Author, Integer> {

    List<BookValue> findBookValue();

    List<BookValue> findBookValueWithoutImpl();

    List<Author> findByFirstName(String firstName);
}
